<template>
  <div>
    <div class="header">
      城市选择
      <router-link to="/">
        <div class="iconfont header-back">&#xe743;</div>
      </router-link>
    </div>
  </div>
</template>
<script>
export default {
  name: 'CityHeader'
}
</script>
<style lang='stylus' scoped>
@import '~styles/varibles.styl';
@import '~styles/mixins.styl';
.header {
  position: relative;
  overflow: hidden;
  height: $headerHeight;
  line-height: 0.86rem;
  text-align: center;
  color: #fff;
  background-color: $bgcolor;
  font-size: 0.3rem;
  ellipsis();
}

.header-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.64rem;
  margin-left: 0.12rem;
  text-align: center;
  font-size: 0.6rem;
  color: #fff;
}
</style>
